package com.zmj.framework.service;

import java.util.List;

import com.zmj.framework.bean.Code;
import com.zmj.framework.bean.Codetype;
import com.zmj.framework.dao.CodeDao;
import com.zmj.framework.dao.CodetypeDao;
import com.zmj.framework.util.PageController;

public abstract interface CodeManager {

	public abstract List getCodetypes(Codetype paramCodetype) throws Exception;

	public abstract List getCodetypesByPageSize(Codetype paramCodetype, PageController paramPageController)
			throws Exception;

	public abstract Codetype getCodetype(String paramString) throws Exception;

	public abstract Code getCode(String paramString1, String paramString2) throws Exception;

	public abstract List getCodes(String paramString) throws Exception;

	public abstract int saveCodetype(Codetype paramCodetype) throws Exception;

	public abstract int saveCode(Code paramCode) throws Exception;

	public abstract int removeCodetype(String paramString) throws Exception;

	public abstract int removeCode(Code paramCode) throws Exception;
}